//
//  NKFindDetailView.m
//  NewKY
//
//  Created by 徐腾 on 2016/11/13.
//  Copyright © 2016年 Dee. All rights reserved.
//

#import "NKFindDetailView.h"

@interface NKFindDetailView ()

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@property (weak, nonatomic) IBOutlet UILabel *doctorLabel;

@property (weak, nonatomic) IBOutlet UILabel *hospitalLabel;

@property (weak, nonatomic) IBOutlet UILabel *yuyueNumber;

@property (weak, nonatomic) IBOutlet UILabel *flowerNumber;

@property (weak, nonatomic) IBOutlet UILabel *jinqiNumber;


@end



@implementation NKFindDetailView

- (void)setDetailModel:(NKFindModel *)detailModel{
    
    _detailModel = detailModel;
    
    self.nameLabel.text = detailModel.doctor_name;
    
    self.doctorLabel.text = detailModel.doctor_title_name;
    
    self.hospitalLabel.text = detailModel.hospital_name;
    
//    self.flowerNumber.text = [NSString stringWithFormat:@""];
    
    self.flowerNumber.text = [NSString stringWithFormat:@"鲜花数:%zd",detailModel.flower];
    
    self.jinqiNumber.text = [NSString stringWithFormat:@"锦旗数:%zd",detailModel.banner];
    
}

@end
